<?php
/**
 * Created by PhpStorm.
 * User: yuyj
 * Date: 16-12-21
 * Time: 下午4:19
 */

namespace common\services\common;


use common\repositories\common\MyscrmApplicationInfoRepository;
use common\services\BaseService;

class MyscrmApplicationInfoService extends BaseService
{

    protected $repository;

    public function __construct(MyscrmApplicationInfoRepository $repository, $config = [])
    {
        $this->repository = $repository;
        parent::__construct($config);
    }

    public function getApplicationList()
    {
        $data = $this->repository->getApplicationList();

        return $data;
    }

}